<template>
  <div id="app">
    <Item></Item>
  </div>
</template>

<script>
  //导入自定义组件item.vue 必须在组件写出当前路径
import Item from "./components/Item.vue"
  //components选择 App.vue根组件下有哪些子组件
export default {
  name: 'App',
  components:{
    Item
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
